<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单管理 － 订单详细</title>
    <meta name="keywords" content="响应式后台">
    <meta name="description" content="使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="/web/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/web/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/web/css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="/web/css/animate.min.css" rel="stylesheet">
    <link href="/web/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="ibox-content">
                    <table class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th>#</th>
                            <th>购买者编号</th>
                            <th>购买时间</th>
                            <th>订单总额</th>
                            <th>会员优惠</th>
                            <th>支付状态</th>
                            <th>审核状态</th>
                            <th>订单状态</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td id="orderId" th:text="${order.orderId}"></td>
                            <td th:text="${order.userId}"></td>
                            <td id="orderCtime" th:text="${order.ctime}"></td>
                            <td id="orderAmount" th:text="${order.orderAmount}"></td>
                            <td id="memberPrice" th:text="${order.memberPrice}"></td>
                            <td id="payStatus" th:text="${order.payStatus}"></td>
                            <td id="auditStatus" th:text="${order.auditStatus}"></td>
                            <td id="orderStatus" th:text="${order.orderStatus}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="ibox-content">
                    <table class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th>订单编号</th>
                            <th>收货人</th>
                            <th>收货电话</th>
                            <th>收货地址</th>
                            <th>运费</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td th:text="${order.orderSn}"></td>
                            <td th:text="${order.consignee}"></td>
                            <td th:text="${order.mobile}"></td>
                            <td th:text="${order.shippingAddress}"></td>
                            <td id="exPrice" th:text="${order.exPrice}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="ibox-content">
                    <table class="table table-bordered table-hover shop">
                        <thead>
                        <tr>
                            <th>商品名</th>
                            <th>供货商</th>
                            <th>添加供货商</th>
                            <th>规格</th>
                            <th>数量</th>
                            <th>售价</th>
                            <th>进价</th>
                            <th>添加物流</th>
                            <th>物流单号</th>
                            <th>状态</th>
                            <th>红包</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="orderProd:${orderProdList}">

                            <td class="goods">
                                <a th:text="${orderProd.goodsName}" target="_blank"
                                   th:href="'https://www.ruitaowang.com/pc/goods_detail.html?id=' + ${orderProd.goodsId}"></a>
                                <input type="hidden" th:value="${orderProd.prodId}" class="prodId">
                                <input type="hidden" th:value="${orderProd.goodsId}" class="goodsId">
                            </td>
                            <td class="selectContent1">
                                <button type="button" class="showProviderInfo">
                                    <input type="hidden" th:value="${orderProd.goodsProviderId}"
                                           class="goodsProviderId1">
                                    查看
                                </button>
                            </td>
                            <td class="col-sm-2 selectContent">
                                <select name="ProviderId" class="goodsProviderId form-control" disabled></select>
                            </td>
                            <td th:text="${orderProd.goodsAttrValues}"></td>
                            <td th:text="${orderProd.goodsNumber}"></td>
                            <td th:text="${orderProd.goodsScreenPrice}" class="goodsScreenPrice"></td>
                            <td th:text="${orderProd.goodsRealPrice}" class="goodsRealPrice"></td>
                            <td class="col-sm-2 selectLogisticsName">
                                <select name="logisticsName" class="logisticsName form-control"></select>
                            </td>
                            <td class="col-sm-2 logisticsSn">
                                <input type="text" th:value="${orderProd.logisticsSn}" class="logisticsSnA" onblur="updateCase()">
                            </td>
                            <td th:text="${orderProd.remark}"></td>
                            <td th:text="${orderProd.goodsScore}" class="goodsScore"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="ibox-content">
                    <table class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th>编号</th>
                            <th>供货商</th>
                            <th>联系人</th>
                            <th>电话</th>
                            <th>地址</th>
                            <th>备注</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td id="companyId"></td>
                            <td id="companyName"></td>
                            <td id="linkman"></td>
                            <td id="mobile"></td>
                            <td id="address"></td>
                            <td id="remark"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/web/js/jquery.min.js?v=2.1.4"></script>
<script src="/web/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/web/js/content.min.js?v=1.0.0"></script>
<script src="/web/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="/web/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/web/js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script th:inline="javascript" src="/web/js/self/commons.js?v=1.0"></script>
<script th:inline="javascript" src="/web/js/self/ws_order_update.js?v=1.0"></script>
</body>
</html>
